package com.manager.devicemanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value="testlog",schema="public")
@Schema(name = "Testlog", description = "")
public class Testlog implements Serializable {

    private static final long serialVersionUID = 1L;
    @Schema(description = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @Schema(description = "板卡id")
    private String boardid;
    @Schema(description = "控制类型")
    private String controltype;
    @Schema(description = "事件类型")
    private String eventType;
    @Schema(description = "事件发生时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sendTime;
    @Schema(description = "事件详情")
    private String detailedData;


}